package com.seminario.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "permisos")
public class Permiso {
	
	@Id
	@Column(name = "IDPE", nullable = false)
	private String idPE;
	@Column(name = "IDPU", nullable = false)
	private String idPU;
	
	public String getIdPE() {
		return idPE;
	}
	public void setIdPE(String idPE) {
		this.idPE = idPE;
	}
	public String getIdPU() {
		return idPU;
	}
	public void setIdPU(String idPU) {
		this.idPU = idPU;
	}
	@Override
	public String toString() {
		return "Permiso [idPE=" + idPE + ", idPU=" + idPU + "]";
	}

}
